package commandset;

public class ICast {
	// ICast ( <resource_uri>, <action>);
	private static String icast = "ICast";
	public String action = "";
	public String resource_uri = "";

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getResource_uri() {
		return resource_uri;
	}

	public void setResource_uri(String resource_uri) {
		this.resource_uri = resource_uri;
	}

	public String printICast() {
		if (resource_uri == "")
			return icast + "(" + action + ");";
		return icast + "(" + resource_uri + ", " + action + ");";
	}
}
